Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableMetaQuery C

Total Complexity 109
Dependencies 2
Dependents 1
Total lines 648
Lines of code 348
Logical lines of code 231
Comment lines 127
Methods 17
Properties 7

Methods 17

Method Rating Maintainability Complexity Lines of code
generate_where_for_clause_key()
B
37 19 73
sanitize_meta_query()
B
46 19 33
generate_where_for_clause_value()
A
43 15 46
get_orderby_clause_for_key()
A
54 8 20
is_operator_compatible_with_shared_join()
S
58 8 12
process()
S
47 6 38
find_or_create_table_alias_for_clause()
S
52 6 25
flatten_where_clauses()
S
54 6 21
get_orderby_keys()
S
58 4 17
generate_join_for_clause()
S
56 3 17
sanitize_cast_type()
S
64 4 10
sanitize_relation()
S
70 3 6
__construct()
S
64 2 10
build_query()
S
68 2 8
is_atomic()
S
78 2 3
get_sql_clauses()
S
71 1 6
sanitize_join()
S
78 1 3